import { PageRequest, PageResponse } from '@/interface/common';
export interface IDeptListRequest extends PageRequest {
  createDateEnd?: string;
  createDateStart?: string;
  name?: string;
  parentId?: number;
  status?: number | string;
}
export interface IDeptItem {
  alias: string;
  code: string;
  createByName: string;
  createTime: string;
  deptId: number;
  level: number;
  name: string;
  parentName: string;
  status: number;
}
export interface IDeptListResponse extends PageResponse {
  records?: IDeptItem[];
}

export interface IDeptTreeItem {
  child?: IDeptTreeItem[] | undefined;
  departmentId: number;
  name: string;
}


